import {
	request
} from '@/utils/request.js'

const baseUrl = 'https://yzsapi.qdxnhb.com/api' //正式地址

// 已呼叫列表
export const getCountStore = (params) => {
	const url = `${baseUrl}/count/store`
	return request(url, 'post', params, 'form')
}
// 未呼叫列表
export const getCountStores = (params) => {
	const url = `${baseUrl}/count/stores`
	return request(url, 'post', params, 'form')
}
// 司机数据获取
export const getCountDriver = (params) => {
	const url = `${baseUrl}/count/driver`
	return request(url, 'post', params, 'form')
}
// 地区统计
export const getCountCitys = (params) => {
	const url = `${baseUrl}/count/citys`
	return request(url, 'post', params, 'form')
}

// 获取订单列表
export const getCountUserSn = (params) => {
	const url = `${baseUrl}/order/user_sn`
	return request(url, 'post', params, 'form')
}
// 待接单
export const getOrderTaking = (params) => {
	const url = `${baseUrl}/order/order_taking`
	return request(url, 'post', params, 'form')
}
// 订单详情
export const getOrderCkDetails = (params) => {
	const url = `${baseUrl}/order/order_ck_details`
	return request(url, 'post', params, 'form')
}

// 带揽件
export const getCkOrder = (params) => {
	const url = `${baseUrl}/order/ck_order`
	return request(url, 'post', params, 'form')
}
